import layout from '@/pages/layout/index.vue'
export default {
    path: '/admin',
    name: 'admin',
    component: layout,
    meta: {
        title: '超级管理员',
        icon: 'Avatar'
    },
    children: [
        {
            path: 'authority',
            name: 'authority',
            meta: {
                title: '管理哈哈',
                // icon: 'Setting'
            },
            component: () => import('@/pages/admin/authority.vue')
        },
        {
            path: 'user',
            name: 'user',
            meta: {
                title: '用户哦哦',
                // icon: 'Setting'
                // hidden: true
            },
            component: () => import('@/pages/admin/user.vue'),
            children: [
                {
                    path: 'haha',
                    name: 'haha',
                    meta: {
                        title: '哈哈哈哈',
                    },
                    component: () => import('@/pages/admin/user.vue'),
                }
            ]
        }
    ]
}